package com.aqie.libfactory.model;

import com.aqie.libfactory.model.db.User;

/**
 * @author aqie
 * @date 2021/2/15 22:59
 */
public interface IMessage {


    public int getStatus();

    public void setStatus(int status);
    public String getSenderId();

    public void setSenderId(String senderId);

    public String getReceiverId();

    public void setReceiverId(String receiverId);

    public String getMsg();

    public void setMsg(String msg);

    public String getMsgId();

    public void setMsgId(String msgId);

    default User getSender() {
        return null;
    }

    default void setSender(User sender) {

    }

    default User getReceiver() {
        return null;
    }

    default void setReceiver(User receiver) {

    }
}
